#define __DEBUG__
// by Tyrghen
#define THIS_FILE "fn_adminendside.sqf"
#include "x_setup.sqf"

__TRACE("Start")
_hxhx = __pGetVar(GVAR(p_isadmin));
if (!isNil "_hxhx" && {_hxhx}) then {
	if (!(serverCommandAvailable "#shutdown") && {isMultiplayer}) exitWith {
		[QGVAR(p_f_b_k), [player, GVAR(name_pl), 3]] call FUNC(NetCallEventCTS);
	};
	__TRACE("Calling end")
	[QGVAR(sm_var), -999] call FUNC(NetCallEventCTS);
};